package com.org.oracle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.org.oracle.mysql.entity.Topic;

import java.util.List;

/**
 * @author heiye
 * @version 1.0
 * @data 2024/8/18 下午4:46
 */
public interface TopicService extends IService<Topic> {

    /**
     * 查找全部话题AI标签
     *
     * @return
     */
    List<Topic> findAll();

    /**
     * 根据 知识圈id 查找对应的 话题ai
     *
     * @param circleId
     * @return
     */
    List<Topic> findByCircleId(String circleId);

    List<Topic> info();

    List<Topic> findGoods();

    Object updateWeight(String id, int type);
}
